.page-box {
  background-color: #F2F2F2;
}
.item-box {
  background-color: #fff;
  margin-bottom: .2rem;
  padding: .2rem 0;
}
.article-box {
  line-height: 1.5;
  padding: 0.4rem;
  width: 100%;
  background-color: #fff;
  font-size: 0.28rem;
  overflow-x: hidden;
  // font-family: Microsoft YaHei, "Courier New", Courier, monospace;
  font-family: Helvetica;
  box-sizing: border-box;
  .title {
    padding: 0.2rem 0.24rem;
    line-height: 0.42rem;
    font-size: 0.4rem;
    color: #333;
  }
  .info-box {
    margin-top: 0.2rem;
    padding: 0.08rem 0.24rem;
    color: #7e7e7e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left {
      display: flex;
      align-items: center;
      justify-content: space-between;
      img {
        height: 0.8rem;
        width: 0.8rem;
        border-radius: 50%;
        margin-right: 0.05rem;
      }

    }
    .middle {
      flex: 1;
      display: flex;
      justify-content: center;
      flex-direction: column;
      margin-left: 0.1rem;
      span {
        color: #808080;
        font-size: 0.28rem;
      }
    }
    .right {
      background-color: #ff5852;
      color: #fff;
      font-size: 0.28rem;
      border-radius: 0.4rem;
      padding: 0.12rem 0.24rem;
      line-height: 0.28rem;
      border: 0.01rem solid transparent; // 解决安卓字体不居中问题
      box-sizing: border-box;
      &.followed {
        background-color: #a6a6a6;
      }
      &.top {
        padding-top: .15rem;
      }
    }
  }
  .short-content {
    margin-top: 0.2rem;
    background-color: #f2f4fc;
    border-radius: 0.15rem;
    padding: 0.2rem;
    color: #808080;
    line-height: 0.44rem;
    font-size: 0.28rem;
    .red {
      color: #ff5753;
    }
  }
  .cover {
    margin-top: 0.2rem;
    img {
      height: 3.5rem;
      width: 100%;
      border-radius: 0.15rem;
    }
  }
  .detail {
    margin-top: 0.2rem;
    text-align: justify;
    img {
      width: 100%;
    }
    p {
      line-height: 0.6rem;
      font-size: 0.34rem;
      color: #333;
    }
    table {
      width: 100% !important;
    }
  }
  .up-rewoard-box {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0.4rem auto;
    justify-content: center;
    > div {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: #323334;
      &:nth-child(2) {
        margin-left: 1rem;
      }
      .img-box {
        border: 0.02rem solid #e13c31;
        border-radius: 50%;
        padding: 0.2rem;
        margin-bottom: 0.1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        img {
          height: 0.5rem;
          width: 0.5rem;
        }
      }
    }
  }
  .reward-list-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.2rem auto;
    .reward-avatar-box {
      margin-right: 0.35rem;
      min-width: 0.8rem;
      max-width: 1.6rem;
      overflow: hidden;
      > div {
        position: relative;
        height: 0.8rem;
      }
      img {
        position: absolute;
        height: 0.8rem;
        width: 0.8rem;
        border-radius: 50%;
      }
    }
    span {
      color: #999;
      &.num {
        color: #000;
        margin: 0 0.05rem;
      }
    }
  }
  .tips {
    margin-top: 0.4rem;
    color: #e8331c;
  }
  .keyword-box {
    margin: 0.3rem auto;
    span {
      display: inline-block;
      margin-top: 0.3rem;
      margin-right: 0.3rem;
      color: #4772f9;
      padding: 0.1rem 0.2rem;
      background-color: #e0e6ff;
      font-size: 0.3rem;
      border: 0.01rem solid transparent; // 解决安卓字体不居中问题
      box-sizing: border-box;
    }
  }
  .reward-amount-box {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    .main {
      position: absolute;
      z-index: 10001;
      bottom: 0.3rem;
      left: 0.3rem;
      right: 0.3rem;
      background-color: #fff;
      border-radius: 0.2rem;
      padding-bottom: 0.3rem;
      .reward-title {
        height: 1rem;
        border-bottom: 0.02rem solid #dadada;
        color: #333;
        font-size: 0.4rem;
        padding: 0 0.4rem;
        line-height: 1rem;
        display: flex;
        justify-content: space-between;
        .close-btn {
          font-size: 0.7rem;
          color: #b3b3b3;
          padding: 0 0.12rem;
        }
      }
      .amount-box {
        // height: 360rem;
        width: 80%;
        margin: 0.5rem auto;
        display: flex;
        flex-wrap: wrap;
        $w: 1.56rem;
        .amount-box-item {
          display: flex;
          justify-content: space-between;
          &:first-child {
            margin-bottom: 0.5rem;
          }
          .amount-item {
            border: 0.01rem solid #eb440e;
            border-radius: 0.5rem;
            flex: 1;
            width: $w;
            min-width: $w;
            max-width: $w;
            height: 0.8rem;
            line-height: 0.8rem;
            text-align: center;
            margin-right: 0.36rem;
            color: #eb440e;
            font-size: 0.36rem;
            display: flex;
            align-items: center;
            justify-content: center;
            &:nth-child(3n) {
              margin-right: 0;
            }
            &.on {
              background-color: #eb440e;
              color: #fff;
              .coin {
                background-image: url(../assets/bi-white.png);
              }
            }
            &.down {
              margin-top: 0.6rem;
            }
            .coin {
              $size: .3rem;
              margin-right: .1rem;
              height: $size;
              width: $size;
              background-size: $size $size;
              background-image: url(../assets/bi-red.png);
            }
          }
        }
      }
      .custom-amount {
        display: flex;
        justify-content: space-between;
        width: 80%;
        margin: 0.1rem auto;
        font-size: 0.4rem;
        height: 0.9rem;
        .input-box {
          height: 100%;
          flex: 1;
          width: 2.78rem;
          border: 0.02rem solid #dadada;
          font-size: 0.36rem;
          color: #b3b3b3;
          padding-left: 0.2rem;
          box-sizing: border-box;
          border-radius: 0.05rem;
        }
        div {
          width: 1.8rem;
          background-color: #eb440e;
          color: #fff;
          height: 100%;
          line-height: 0.9rem;
          text-align: center;
          border-radius: 0.16rem;
          border: 0.02rem solid #ff5d5d;
          padding: 0 0.2rem;
          margin-left: 0.3rem;
          &.disabled {
            background-color: #ccc;
            border: none;
          }
        }
      }
    }
  }
}
